async function ${nodeId}(node, index) {
    <#include "common/InitLogging.ftl">
    try {
        let result = await new Promise(async function (resolve, reject) {
            try {
                ${paramJsCode}
                debugLogging.assignInput(JSON.stringify(content));
                debugLogging.pushDebug('请求地址：${remoteUrl}');
                debugLogging.pushDebug('请求方式：${method}');
                debugLogging.pushDebug('请求类型：${contentType}');
                debugLogging.pushDebug('请求参数：' + JSON.stringify(content));
                let r;
                <#if contentType?lower_case?contains("json")>
                    r = await axios.postJson('${remoteUrl}', content<#if headers??>,${headers}</#if>);
                <#else >
                    <#if method?lower_case?contains("get")>
                        r = await axios.get('${remoteUrl}', content<#if headers??>,${headers}</#if>);
                    <#else >
                        r = await axios.postForm('${remoteUrl}', content<#if headers??>,${headers}</#if>);
                    </#if>
                </#if>
                resolve(r);
            } catch (e) {
                reject(e);
                return;
            }
        });
        node['${nodeId}'<#if loop>+ '_' + index</#if>] = result;
        debugLogging.assignOutput(node['${nodeId}'<#if loop>+ '_' + index</#if>]);
        return node['${nodeId}'<#if loop>+ '_' + index</#if>];
    } catch (e) {
        <#include "common/Catch.ftl">
    } finally {
        logEndTime = DebugLogging.getTimestamp();
        debugLogging.assignWithoutInputAndOutputParam(${nodeId}, ${nodeType}, '${nodeName}', logStartTime, logEndTime);
        node.debugLog.push(debugLogging);
    }
}